﻿namespace EventBus.Abstractions
{
    public class SubscriptionDescriptor
    {
        public Type SubscriptionType { get; }
        public Type SubscriptionHandlerType { get; }

        public SubscriptionDescriptor(Type subscriptionType, Type subscriptionHandlerType)
        {
            SubscriptionType = subscriptionType;
            SubscriptionHandlerType = subscriptionHandlerType;
        }
    }
}
